package com.cn.mmd.service;

import com.cn.mmd.model.QuestionWrite;
import com.cn.mmd.model.Questionnaire;

import java.util.List;

/**
 * Created by Administrator on 2016/7/11 0011.
 */
public interface QuestionnairesService {

    /**
     * 根据问卷id 标题
     * @param
     * @return
     */
    Questionnaire selectById(Questionnaire questionnaire);


    /**
     * 根据标题模糊查询
     * @param questionWrite
     * @return
     */
    List<QuestionWrite> selectByName(QuestionWrite questionWrite);
}
